package com.zhb.sys.shiro.mapper;

import java.util.List;

import com.zhb.sys.shiro.model.User;



public interface UserMapper {
    int deleteByPrimaryKey(String id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

	String selectPasswordByUserName(String userName);

	List<User> selectUserByCondition(User user);

	User selectUserRoleAndFunctionByUserName(String username);
}